package com.ytktt.study.week9.task3.rpcfx.service.g1;

import com.ytktt.study.week9.task3.rpcfx.User;
import com.ytktt.study.week9.task3.rpcfx.UserService;
import com.ytktt.study.week9.task3.rpcfx.annotation.RpcfxServiceProvider;

/**
 * 用户业务逻辑实现
 *
 * @author ytk
 */
@RpcfxServiceProvider(group = "g1", version = "2.0")
public class UserService2Impl implements UserService {

    @Override
    public User findById(int id) {
        return new User(id, "KK" + System.currentTimeMillis() + "_g1_2.0");
    }
}
